#include "gamewindow.h"
#include "ui_gamewindow.h"
#include"config.h"
GameWindow::GameWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::GameWindow)
{
    ui->setupUi(this);
    initScene();
}

GameWindow::~GameWindow()
{
    delete ui;
}

void GameWindow::initScene()
{
    setFixedSize(GAME_WIDTH,GAME_HEIGHT);
    setWindowTitle(GAME_TITLE);
    setWindowIcon(QIcon(":/picture/images/me1.png"));

}

